package com.student.liu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 订单类
 */
@Data
public class Orderform implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Byte stateId;
    private Integer userId;
    private Float money;
    private LocalDateTime submittime;
    private Integer tableId;
    private Integer waiterId;
    private String state;

    @Override
    public String toString() {
        return "Orderform{" +
                "id=" + id +
                ", stateId=" + stateId +
                ", userId=" + userId +
                ", money=" + money +
                ", submittime=" + submittime +
                ", tableId=" + tableId +
                ", waiterId=" + waiterId +
                '}';
    }
}
